#define _CRT_SECURE_NO_WARNINGS
#include"SLTNode.h"


//void test01()
//{

//}


void test02()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 666);
	SLTPushFront(&plist, 999);
	SLTPrint(plist);
	SLTPopBack(&plist);
	SLTPopBack(&plist);
	SLTPopBack(&plist);
	SLTPopBack(&plist);
	SLTPopBack(&plist);
	//SLTPopBack(&plist);
	//SLTPopBack(&plist);
	SLTPrint(plist);
	SLTPopFront(&plist);
	SLTPrint(plist);

}
void test03()
{
	SLTNode* plist01 = NULL;
	SLTPushBack(&plist01, 2);
	SLTPushBack(&plist01, 3);
	SLTPushBack(&plist01, 4);
	SLTPushBack(&plist01, 5);
	SLTPushBack(&plist01, 65);
	SLTPrint(plist01);
	SLTNode* find = SLTFind(plist01, 65);
//SLTNode*find=SLTFind(65);
if (find)printf("zhaodao");
}
int main()
{
	test02();
	test03();
	return 0;
}